<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>个人信息维护</title>
		
		
		    <link href="css/all.css" rel="stylesheet" type="text/css">
		    <link href="js/editor/css/font-awesome.min.css" rel="stylesheet" type="text/css">
		    <link href="js/editor/css/froala_editor.min.css" rel="stylesheet" type="text/css">
		</head>
		
		<body style="background-color: #e6ecf5">
		<form action="updateUser" method="post">	
		<div class="book_con01">
			
		    <h1 class="book_h01">个人详情</h1>
		    <p class="book_p">
		        <table class="book_table" border="1" cellpadding="10">		       
		    <tr>
		        <td>
		        <label class="td_label">学号</label>
		    </td>
		          <td class="reead" >
		          
		             <p>${user.xuehao}</p>		            
		        </td>
		        <td>
		            <label class="td_label">性别</label>
		        </td>
		        <td  class="reead">
		       	<p name="sex">${user.sex}</p>
		        
		        </td>	
		    </tr>
		    <tr><td>
		        <label class="td_label">年龄</label>
		    </td>
		            <td class="reead" >
		             <p>18</p>		            
		        </td>
		        <td>
		            <label class="td_label">金额</label>
		        </td>
		        <td  class="reead">
		     	 <p name="money" style="float: left;">${user.money}</p>
		        <a href="moneyShow"> <input type="button" value="充值" style="float: right;" value="${user.money}" name="money"/></a>
		        </td>
		
		    </tr>
		    <tr>
		
		        <td><label class="td_label">姓名</label></td>
		        <td >
		            <input type="text" class="book_input03" value="${user.name}" name="name"/>
		        </td>
		               <td><label class="td_label">邮箱</label></td>
		        <td >
		            <input type="text" class="book_input03" value="${user.email}" name="email"/>
		        </td>		
		    </tr>	
		    <tr> <td><label class="td_label">联系电话</label></td>
		        <td >
		            <input type="text" class="book_input03" value="${user.telephone}" name="telephone" />
		        </td>
		        <td><label class="td_label">学校</label></td>
		        <td >
		            <input type="text" class="book_input03" value="${user.school}" name="school" />
		        </td>
		    </tr>
		    <tr>
		        <td><label class="td_label">密码</label></td>
		        <td colspan="3">
		            <input type="text" class="book_input03" value="${user.password}" name="password" />
		    </td>	
		    </tr>	
		</table>		  
		    <p class="book_foot">		
		    <input type="submit" value="保存"/>  
		    <input type="button" value="关闭"/></p>		
		    </form> 	    	   
		</div>
		
		<script  src="js/jquery/jQuery-2.2.0.min.js"></script>
		<script src="js/editor/js/froala_editor.min.js"></script>
		
		<script src="js/editor/js/plugins/tables.min.js"></script>
		<script src="js/editor/js/plugins/lists.min.js"></script>
		<script src="js/editor/js/plugins/colors.min.js"></script>
		<script src="js/editor/js/plugins/media_manager.min.js"></script>
		<script src="js/editor/js/plugins/font_family.min.js"></script>
		<script src="js/editor/js/plugins/font_size.min.js"></script>
		<script src="js/editor/js/plugins/block_styles.min.js"></script>
		<script src="js/editor/js/plugins/video.min.js"></script>
		<script>
		    $(function(){
		        $('#editor').editable({inlineMode: false, alwaysBlank: true})
		    });
		</script>
		</body>
</html>